const getters = {
  sidebar: state => state.app.sidebar,
  size: state => state.app.size,
  device: state => state.app.device,
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,

  token: state => state.user.token,
  userinfo: state => state.user.userinfo,
  money: state => state.user.money,
  store: state => state.user.store,
  roles: state => state.user.roles,
  csrf_token: state => state.user.csrf_token,

  permission_routes: state => state.permission.routes,
  errorLogs: state => state.errorLog.logs
}
export default getters
